<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="utf-8">
  <meta http-equiv="Content-Language" content="zh-CN">
  <title>暂无标题</title>
  <meta name="keywords" content="">
  <meta name="description" content="">
  <meta name="copyright" content="" />
  <meta name="viewport" content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
  <!-- 可隐藏地址栏，仅针对IOS的Safari（注：IOS7.0版本以后，safari上已看不到效果） -->
  <meta name="apple-mobile-web-app-capable" content="yes">
  <!-- 仅针对IOS的Safari顶端状态条的样式（可选default/black/black-translucent ） -->
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="App-Config" content="fullscreen=yes,useHistoryState=yes,transition=yes">
  <meta content="yes" name="apple-mobile-web-app-capable">
  <meta content="yes" name="apple-touch-fullscreen">
  <!-- IOS中禁用将数字识别为电话号码/忽略Android平台中对邮箱地址的识别 -->
  <meta name="format-detection" content="telephone=no, email=no" />
  <!-- 启用360浏览器的极速模式(webkit) -->
  <meta name="renderer" content="webkit">
  <!-- 避免IE使用兼容模式 -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- 针对手持设备优化，主要是针对一些老的不识别viewport的浏览器，比如黑莓 -->
  <meta name="HandheldFriendly" content="true">
  <!-- 微软的老式浏览器 -->
  <meta name="MobileOptimized" content="320">
  <!-- uc强制竖屏 -->
  <meta name="screen-orientation" content="portrait">
  <!-- QQ强制竖屏 -->
  <meta name="x5-orientation" content="portrait">
  <!-- UC强制全屏 -->
  <meta name="full-screen" content="yes">
  <!-- QQ强制全屏 -->
  <!-- UC应用模式 -->
  <meta name="browsermode" content="application">
  <!-- QQ应用模式 -->
  <meta name="x5-page-mode" content="app">
  <!-- windows phone 点击无高光 -->
  <meta name="msapplication-tap-highlight" content="no">
  <script src="//cdn.ynsite.com/testwaring/testwaring.js"></script>
  <link rel="shortcut icon" href="/favicon.ico" />
  <link rel="bookmark"href="/favicon.ico" />
  <script>
    //判断IOS版本
    function getIsIphoneX() {
      // iPhone X、iPhone XS
      var isIPhoneX = /iphone/gi.test(window.navigator.userAgent) && window.devicePixelRatio && window
        .devicePixelRatio === 3 && window.screen.width === 375 && window.screen.height === 812;
      if (isIPhoneX) return true;
      // iPhone XS Max
      var isIPhoneXSMax = /iphone/gi.test(window.navigator.userAgent) && window.devicePixelRatio && window
        .devicePixelRatio === 3 && window.screen.width === 414 && window.screen.height === 896;
      if (isIPhoneXSMax) return true;
      // iPhone XR
      var isIPhoneXR = /iphone/gi.test(window.navigator.userAgent) && window.devicePixelRatio && window
        .devicePixelRatio === 2 && window.screen.width === 414 && window.screen.height === 896;
      if (isIPhoneXR) return true;

      return false;
    };

    function SetIsiOS() {
      var u = navigator.userAgent;
      var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
      window.isiOS = isiOS ? true : false
    }
    SetIsiOS(); //设置是否为ios
    //ios10中禁止Safari浏览器用户双击缩放页面
    window.onload = function () {
      document.addEventListener('touchstart', function (event) {
        if (event.touches.length > 1) {
          event.preventDefault();
        }
      })
      var lastTouchEnd = 0;
      document.addEventListener('touchend', function (event) {
        var now = (new Date()).getTime();
        if (now - lastTouchEnd <= 300) {
          event.preventDefault();
        }
        lastTouchEnd = now;
      }, false);
      setRootSize();
    }
    

    //页面计算问题
    function setRootSize() {
      
      var deviceWidth = document.documentElement.clientWidth;
      if (deviceWidth > 1080) {
        deviceWidth = 1080;
      }
      var _fontSize=deviceWidth / 10.80;
      document.documentElement.style.fontSize =_fontSize + 'px';
      return _fontSize;
    }
    setRootSize();
    window.addEventListener('resize', function () {
      setRootSize();
    }, false);

    //history.pushState(null,null,document.URL);
    // window.addEventListener('popstate',function(){
    //   history.pushState(null,null,document.URL);
    // })
    var socket=null
  </script>
</head>

<body id="body">
  <noscript>
    <strong>We're sorry but web doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
  </noscript>
  
  <div id="app"></div>
  <!-- built files will be auto injected -->
</body>

</html>